package com.ls.service.solo;


import com.ls.entity.ShopCategory;
import com.ls.entity.dto.Result;

import java.util.List;

/**
 * 〈〉
 */
public interface ShopCategoryService {
    /**
     * 添加
     * @param shopCategory
     * @return
     */
    Result<Boolean> addShopCategory(ShopCategory shopCategory);

    /**
     * 删除
     * @param shopCategoryId
     * @return
     */
    Result<Boolean> removeShopCategory(int shopCategoryId);

    /**
     * 修改
     * @param shopCategory
     * @return
     */
    Result<Boolean> modifyShopCategory(ShopCategory shopCategory);

    /**
     * 查询
     * @param shopCategoryId
     * @return
     */
    Result<ShopCategory> queryShopCategoryById(int shopCategoryId);

    /**
     * 查询
     * @param shopCategoryCondition
     * @param pageIndex
     * @param pageSize
     * @return
     */
    Result<List<ShopCategory>> queryShopCategory(ShopCategory shopCategoryCondition, int pageIndex, int pageSize);
}
